package com.usdt.system.service.cp;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usdt.system.domain.cp.ClueCustomerInfoEntity;

/**
 * <p>
 * 线索-客户信息 服务类
 * </p>
 *
 * @author L
 * @since 2025-09-30
 */
public interface ClueCustomerInfoService extends IService<ClueCustomerInfoEntity> {

	/**
	 * @param deptId
	 * @param phoneNumber
	 * @param id
	 * @return
	 */
	List<ClueCustomerInfoEntity> checkClueCustomerInfoUniqueByDeptIdAndPhoneNumber(String deptId, String phoneNumber,
			Integer id);

	/**根据线索id查询
	 * @param id
	 * @return
	 */
	List<ClueCustomerInfoEntity> getClueCustomerInfoByClueId(Integer clueId);

	/**删除线索人员
	 * @param id
	 */
	void delByClueId(Integer clueId);

	
	/**转出
	 * @param clueId 
	 * @param outUserId
	 * @param outDeptId
	 * @param string
	 */
	void transferOut(Integer clueId, String outUserId, String outDeptId, String currentUserId);

	
	/**批量转出
	 * @param clueIds
	 * @param outUserId
	 * @param outDeptId
	 */
	void batchTransferOut(List<Integer> clueIds, String outUserId, String outDeptId);

}
